package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2021-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_account")
@ApiModel(value="Account对象", description="")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "账户名称")
    private String accountName;

    @ApiModelProperty(value = "账户手机号")
    private String accountPhone;

    @ApiModelProperty(value = "账户类型")
    private Integer accountTypeid;

    @ApiModelProperty(value = "账户编号")
    private String accountNumber;

    @ApiModelProperty(value = "账户余额")
    private Double accountMoneyBalance;

    @ApiModelProperty(value = "冻结金额")
    private Double accountMoneyFreeze;

    @ApiModelProperty(value = "累计获得")
    private Double accountMoneyRental;

    @ApiModelProperty(value = "默认收益")
    private Double accountEarningsDefault;

    @ApiModelProperty(value = "充值收益")
    private Double accountEarningsRecharge;

    @ApiModelProperty(value = "消费收益")
    private Double accountEarningsConsume;

    @ApiModelProperty(value = "推荐收益")
    private Double accountEarningsRecommend;

    @ApiModelProperty(value = "分享收益")
    private Double accountEarningsShare;

    @ApiModelProperty(value = "一级分销收益")
    private Double accountEarningsOneDistribution;

    @ApiModelProperty(value = "二级分销收益")
    private Double accountEarningsTwoDistribution;


}
